package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 员工档案管理
 * </p>
 *
 * @author 冯政尚
 * @since 2018-09-26
 */
@TableName("employee_file")
public class EmployeeFile extends Model<EmployeeFile> {

	private static final long serialVersionUID = 1L;

	private Long id;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 性别
	 */
	private String sex;
	/**
	 * 年龄
	 */
	private Long age;
	/**
	 * 入职日期
	 */
	@TableField("date_entry")
	private Long dateEntry;
	/**
	 * 离职日期
	 */
	private Long leaveDate;
	/**
	 * 岗位
	 */
	private String post;
	/**
	 * 病历
	 */
	@TableField("medical_record")
	private String medicalRecord;
	/**
	 * 健康状态
	 */
	@TableField("health_status")
	private String healthStatus;
	/**
	 * 状态  1.在职2.出差3.休假4.离职5.请假
	 */
	private String state;
	/**
	 * 身份证号
	 */
	@TableField("idNumber")
	private Long idNumber;
	/**
	 * 出生年月
	 */
	private Long birth;
	/**
	 * 手机号
	 */
	private Long phone;
	/**
	 * 创建时间
	 */
	@TableField("createTime")
	private Long createTime;
	/**
	 * 家庭住址
	 */
	private String address;
	/**
	 * 暂定工号
	 */
	@TableField("workNumber")
	private String workNumber;
	/**
	 * 工龄
	 */
	@TableField("workingYears")
	private String workingYears;
	/**
	 * 部门
	 */
	private String dept;
	/**
	 * 职务
	 */
	private String postz;
	/**
	 * 婚否
	 */
	private String marriage;
	/**
	 * 民族
	 */
	private String nation;
	/**
	 * 学历
	 */
	private String education;
	/**
	 * 毕业院校
	 */
	private String graduation;
	/**
	 * 专业
	 */
	private String major;
	/**
	 * 培训经历
	 */
	@TableField("trainingExperience")
	private String trainingExperience;
	/**
	 * 获得证书
	 */
	@TableField("obtainCertificate")
	private String obtainCertificate;
	/**
	 * 试用期截止时间
	 */
	@TableField("probationPeriod")
	private Long probationPeriod;
	/**
	 * 合同签订次数
	 */
	@TableField("numberOfSigns")
	private Long numberOfSigns;
	/**
	 * 合同签订日期
	 */
	private Long signing;
	/**
	 * 合同到期日期
	 */
	@TableField("ExpirationDate")
	private Long ExpirationDate;
	/**
	 * 现住址
	 */
	@TableField("presentAddress")
	private String presentAddress;
	/**
	 * 紧急联系人/电话
	 */
	private String urgent;
	/**
	 * 开户银行
	 */
	@TableField("accountOpening")
	private String accountOpening;
	/**
	 * 银行卡号
	 */
	@TableField("bankNumber")
	private Long bankNumber;
	/**
	 * 本公司参保时间
	 */
	private Long insurance;
	/**
	 * 异动
	 */
	private String movement;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 渠道
	 */
	private String channel;
	@TableField("areaid")
	private Long areaid;


	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Long getAge() {
		return age;
	}

	public void setAge(Long age) {
		this.age = age;
	}

	public Long getDateEntry() {
		return dateEntry;
	}

	public void setDateEntry(Long dateEntry) {
		this.dateEntry = dateEntry;
	}

	public Long getLeaveDate() {
		return leaveDate;
	}

	public void setLeaveDate(Long leaveDate) {
		this.leaveDate = leaveDate;
	}

	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getMedicalRecord() {
		return medicalRecord;
	}

	public void setMedicalRecord(String medicalRecord) {
		this.medicalRecord = medicalRecord;
	}

	public String getHealthStatus() {
		return healthStatus;
	}

	public void setHealthStatus(String healthStatus) {
		this.healthStatus = healthStatus;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(Long idNumber) {
		this.idNumber = idNumber;
	}

	public Long getBirth() {
		return birth;
	}

	public void setBirth(Long birth) {
		this.birth = birth;
	}

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getWorkNumber() {
		return workNumber;
	}

	public void setWorkNumber(String workNumber) {
		this.workNumber = workNumber;
	}

	public String getWorkingYears() {
		return workingYears;
	}

	public void setWorkingYears(String workingYears) {
		this.workingYears = workingYears;
	}



	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public String getPostz() {
		return postz;
	}

	public void setPostz(String postz) {
		this.postz = postz;
	}

	public String getMarriage() {
		return marriage;
	}

	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getGraduation() {
		return graduation;
	}

	public void setGraduation(String graduation) {
		this.graduation = graduation;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getTrainingExperience() {
		return trainingExperience;
	}

	public void setTrainingExperience(String trainingExperience) {
		this.trainingExperience = trainingExperience;
	}

	public String getObtainCertificate() {
		return obtainCertificate;
	}

	public void setObtainCertificate(String obtainCertificate) {
		this.obtainCertificate = obtainCertificate;
	}

	public Long getProbationPeriod() {
		return probationPeriod;
	}

	public void setProbationPeriod(Long probationPeriod) {
		this.probationPeriod = probationPeriod;
	}

	public Long getNumberOfSigns() {
		return numberOfSigns;
	}

	public void setNumberOfSigns(Long numberOfSigns) {
		this.numberOfSigns = numberOfSigns;
	}

	public Long getSigning() {
		return signing;
	}

	public void setSigning(Long signing) {
		this.signing = signing;
	}

	public Long getExpirationDate() {
		return ExpirationDate;
	}

	public void setExpirationDate(Long ExpirationDate) {
		this.ExpirationDate = ExpirationDate;
	}

	public String getPresentAddress() {
		return presentAddress;
	}

	public void setPresentAddress(String presentAddress) {
		this.presentAddress = presentAddress;
	}

	public String getUrgent() {
		return urgent;
	}

	public void setUrgent(String urgent) {
		this.urgent = urgent;
	}

	public String getAccountOpening() {
		return accountOpening;
	}

	public void setAccountOpening(String accountOpening) {
		this.accountOpening = accountOpening;
	}

	public Long getBankNumber() {
		return bankNumber;
	}

	public void setBankNumber(Long bankNumber) {
		this.bankNumber = bankNumber;
	}

	public Long getInsurance() {
		return insurance;
	}

	public void setInsurance(Long insurance) {
		this.insurance = insurance;
	}

	public String getMovement() {
		return movement;
	}

	public void setMovement(String movement) {
		this.movement = movement;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "EmployeeFile{" +
				"id=" + id +
				", name='" + name + '\'' +
				", sex='" + sex + '\'' +
				", age=" + age +
				", dateEntry=" + dateEntry +
				", leaveDate=" + leaveDate +
				", post='" + post + '\'' +
				", medicalRecord='" + medicalRecord + '\'' +
				", healthStatus='" + healthStatus + '\'' +
				", state='" + state + '\'' +
				", idNumber=" + idNumber +
				", birth=" + birth +
				", phone=" + phone +
				", createTime=" + createTime +
				", address='" + address + '\'' +
				", workNumber='" + workNumber + '\'' +
				", workingYears='" + workingYears + '\'' +
				", dept='" + dept + '\'' +
				", postz='" + postz + '\'' +
				", marriage='" + marriage + '\'' +
				", nation='" + nation + '\'' +
				", education='" + education + '\'' +
				", graduation='" + graduation + '\'' +
				", major='" + major + '\'' +
				", trainingExperience='" + trainingExperience + '\'' +
				", obtainCertificate='" + obtainCertificate + '\'' +
				", probationPeriod=" + probationPeriod +
				", numberOfSigns=" + numberOfSigns +
				", signing=" + signing +
				", ExpirationDate=" + ExpirationDate +
				", presentAddress='" + presentAddress + '\'' +
				", urgent='" + urgent + '\'' +
				", accountOpening='" + accountOpening + '\'' +
				", bankNumber=" + bankNumber +
				", insurance=" + insurance +
				", movement='" + movement + '\'' +
				", remarks='" + remarks + '\'' +
				", channel='" + channel + '\'' +
				'}';
	}
}
